package com.longcai.controller.customer;


import com.longcai.bean.ApiResult;
import com.longcai.service.customer.ClyjGiftService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * <p>
 * 礼包表 前端控制器
 * </p>
 *
 * @author M
 * @since 2019-04-18
 */
@Controller
@RequestMapping("/clyjGift")
public class ClyjGiftController {

    @Autowired
    private ClyjGiftService clyjGiftService;

    /**
     * 获取所有礼包
     *
     * @return
     */
    @RequestMapping("/getGiftList")
    @ResponseBody
    public ApiResult getGiftList() {
        return this.clyjGiftService.getGiftList();
    }
}

